import request from '@/utils/request'

export function getCaseDetail(caseId) {
    return request({
      url: `/autoExtraction/list/${caseId}`,
      method: 'get'
    })
}

export function addonePost(data) {
    return request({
      url: "/autoExtraction/addone",
      method: 'post',
      data
    })
}

export function deleteAuto(id) {
    return request({
      url: `/autoExtraction/${id}`,
      method: 'delete'
    })
}

export function deleteAutoList(data) {
    return request({
      url: "/autoExtraction/delList",
      method: 'post',
      data
    })
}